06. Multiple Tests per Spec

Multiple Tests per Spec

Multiple Tests per Spec Quiz - JavaScript Testing

Here's the code again:

it("should consider this spec", function() {
  expect(true).toBe(true);
  expect(false).not.toBe(false);
});

Would the above spec pass or fail?

SOLUTION: Fail

Solution

Multiple Tests per Spec Solution - JavaScript Testing